layui.use('layer',function () {
    var layer=layui.layer;
    var $=layui.$;
    $(function () {
        $.ajax({
            type:'post',
            url:'/Ticket/home/getMsg',
            dataType:'json',
            success:function (res) {
                if(res.code==0)
                {
                    $('#txt').text(res.data[0].remarks)
                }
                else layer.msg(res.msg);
            }
        });
    });
});